#ifndef __MENUBAR_H__
#define __MENUBAR_H__

#include <gtk/gtk.h>

typedef struct _MenuBar MenuBar;

struct _MenuBar {
    /*菜单栏*/
    GtkWidget *menubar;

    /*文件菜单*/
    GtkWidget *fileMenu;
    GtkWidget *exitMenuItem;

    /*编辑菜单*/
    GtkWidget *editMenu;
    GtkWidget *bgColorMenuItem;

    /*帮助菜单*/
    GtkWidget *helpMenu;
    GtkWidget *aboutMenuItem;
};

MenuBar* menubar_new(gpointer w);

#endif
